package com.lt.experiment05.mission02;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.experiment05.mission02
 * @ClassName Component
 * @Description to do
 * @date 2021/11/16 11:56
 */
public abstract class Component {
    public abstract void operation();
    public abstract void add(Component c) throws Exception;
    public abstract void remove(Component c) throws Exception;
    public abstract Component getChild(int i) throws Exception;
    public abstract void print();
}
